package com.nbot.server.job;

import cn.hutool.log.StaticLog;
import com.nbot.server.workers.OracleWorker;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * oracle checkFxglLog 报警监控任务
 */
@Component
public class OracleCheckFxglLogJob implements Job {

    @Autowired
    private OracleWorker oracleWorker;


    @Override
    public void execute(JobExecutionContext arg0) throws JobExecutionException {
        StaticLog.info("执行oracle checkFxglLog 报警监控任务");
        oracleWorker.checkFxglLog();

    }

}